package org.autumn.jvm;

import java.util.ArrayList;
import java.util.concurrent.TimeUnit;

public class TestJVisualVm {
    public static void main(String[] args) throws InterruptedException {
        ArrayList<Object> list = new ArrayList<>();

        for (int i = 0; i < 200; i++) {
            list.add(new Student());
        }

        TimeUnit.HOURS.sleep(1);
    }
}

class Student{
    private byte[] bytes = new byte[1024 * 1024];
}
